home *** CD-ROM | disk | FTP | other *** search
- 1 poke55,255:poke56,62:v=53248:pokev+21,.
- 2 poke53280,.:poke53281,.:print"[147]";
- 3 a=a+1
- 4 ifa=1thenload"fools.spr",8,1
- 15 po=peek(648)*256+1016:di=6:dimg$(36)
- 16 d$(1)="n":d$(2)="s":d$(3)="e"
- 17 d$(4)="[206][207][210][212][200]":d$(5)="[211][207][213][212][200]":d$(6)="[197][193][211][212]"
- 18 mk=1:k$(1)="[215]":k$(2)="[196]":k$(3)="[210]":goto100
- 19 rem put chest with gold at cx,cy
- 20 pokev+21,7
- 22 pokepo,255:pokev+39,14:pokev,cx:pokev+1,cy:rem bottom of chest
- 24 pokepo+1,254:pokev+40,14:pokev+2,cx-24:pokev+3,cy-8:rem top of chest
- 26 pokepo+2,253:pokev+41,7:pokev+4,cx:pokev+5,cy: rem gold in chest
- 28 return
- 30 print"[164]";:fora=1to15
- 31 pokev+41,fg:fg=fg+1:iffg=9thenfg=7
- 32 geta$:ifa$=""then31
- 34 ifa$=chr$(32)then40
- 35 ifa$=chr$(13)thenprint"[157] ":goto44
- 36 ifa$=chr$(20)anda>1thenprint"[157][157] [157][157][164]";:a=a-1:goto32
- 37 ifa$>="a"anda$<="z"thena$=chr$(asc(a$)+128)
- 38 gosub6000:ifa$<"[193]"ora$>"[218]"then32
- 40 print"[157]"a$"[164]";::g$(a)=a$
- 42 next:print"[157] "
- 44 i$="":forb=1toa-1:i$=i$+g$(b):next
- 46 return
- 100 pokev+21,.:print"[147] [196]ispute?'s [199]azelle [208]resents:":fg=7
- 102 print" [198]ools [199]old"
- 103 print" [193]n [193]dventure-[212]ype [199]ame"
- 105 print"[160] [160]by [196]an [212]obias"
- 106 print" [195]-64 version by [205]ike [205]aynard"
- 110 print"[129][212]he object is to get out of the cave"
- 120 print"with the treasure."
- 130 print"[154][213]se normal adventure game commands."
- 140 print"[159][201]f you don't know what normal adventure"
- 150 print"game commands are, feel free to buy our"
- 160 print"4500 page book, "chr$(34)"[212][200][197] [201][206][195][207][205][208][204][197][212][197] [194][207][207][203][160][207][198]"
- 170 print"[193][196][214][197][206][212][213][210][197] [199][193][205][197] [195][207][205][205][193][206][196][211]"chr$(34)" for the"
- 175 print"unbelievable low price of $499.95 ..."
- 176 print"order yours today!"
- 180 print"[153] [208]ress [210][197][212][213][210][206] to continue.":poke198,.:t=-1
- 190 geta$:ifa$<>chr$(13)then190
- 200 pokev+21,.:print"[147][129][217]ou are in a cave. [217]ou can see light"
- 210 print"to the west."
- 220 print"[154][214]isible objects:[159]";:ifnot(t)thenprint" [206]othing"
- 230 if(t)thenprint:print" [212]reasure":cx=180:cy=83:gosub20
- 240 print"[154][207]pen [208]assages: [159][215]est"
- 260 print"[129]-->[158]";:gosub30
- 270 j$=""
- 300 if(i$="[204][207][207][203]")then on int(rnd(0)*2)+1 goto 3000,3020
- 310 if(i$="[199][197][212] [212][210][197][193][211][213][210][197]")or(i$="[212][193][203][197] [212][210][197][193][211][213][210][197]")and(t)thent=.:goto200
- 311 if(i$="[199][197][212] [199][207][204][196]")or(i$="[212][193][203][197] [199][207][204][196]")and(t)thent=.:goto200
- 312 if(i$="[201][206][214][197][206][212][207][210][217]")or(i$="[201][206][214]")or(i$="[201]")thengosub400:goto200
- 315 if(i$="[196][210][207][208] [212][210][197][193][211][213][210][197]")and(not(t))thent=not(t):mk=1:goto200
- 316 if(i$="[196][210][207][208] [199][207][204][196]")and(not(t))thent=not(t):mk=1:goto200
- 320 ifi$="[215]"ori$="[215][197][211][212]"ori$="[199][207] [215]"ori$="[199][207] [215][197][211][212]"then500
- 330 fora=1todi:ifi$=d$(a)thenprint"[217]ou can't go that direction."
- 335 ifi$=d$(a)thenfora=1to1000:next:goto200
- 340 next
- 350 if(i$<>"[209][213][201][212]")and(i$<>"[197][216][201][212]")and(i$<>"[211][212][207][208]")then370
- 360 print"[217]ou have just [209][213][201][212] the game."
- 365 print"([201] don't blame you; few mortals can"
- 366 print"manage to solve it.)":goto2000
- 370 print"[201] don't understand.":fora=1to1000:next:goto200
- 400 if(t)thenprint"[217]ou are carrying [206][207][212][200][201][206][199].":goto420
- 410 print"[217]ou are carrying [212][210][197][193][211][213][210][197]."
- 420 fora=1to2000:next:return
- 500 print"[159][217]ou have left the cave."
- 505 if(t)then520
- 510 print"[158][217]ou have ten billion dollars in gold!"
- 512 print"[198]inal [211]core: [153]1000 out of [153]1000."
- 515 goto2000
- 520 print"[158][200]owever, you forgot the treasure."
- 530 print"[198]inal [211]core: [153]500 out of [153]1000.":print:print:print
- 2000 print"[154][215]ould you like to play again? ([217][154]/[206][154])":print"[129]-->[158]";
- 2005 print" [157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]";:gosub30
- 2010 ifi$="[217]"ori$="[217][197][211]"thenmk=1:goto100
- 2015 ifi$<>"[206]"andi$<>"[206][207]"thenprint"[145][145]";:goto2000
- 2020 pokev+21,.
- 2030 print"[147][194]ye now. [200]ave a lousy day."
- 2040 open15,8,15,"r0:connect=connect":input#15,er:close15:ifer<>63thenend
- 2050 load"connect",8
- 3000 print"[204]ook at what? (...must think [201]'m a":print"mindreader...)
- 3010 [129]a[178]1[164]4000:[130]:[137]200
- 3020 [153]"right$'m a computer, right$closedon't have eyes, ya know ...":[129]a[178]1[164]4000:[130]
- 3030 [137]200
- 6000 [139](mk[179]4)[175](g$(1)[178]"chr$")[175](a$[178]"val")[175](a[178]2)[167]a$[178]k$(mk):mk[178]mk[170]1:[142]
- 6010 [142]
-